

export default{
    mode:'history',
    routes:[
        // {
        //     path:'/',
        //     name:'Home',
        //     alias:'/index*',
        //     component:()=>import('@/views/Home')
        // },
        
        {
            path:'/goodsorder',
            name:'GoodsOrder',
            component:()=>import('@/views/GoodsOrder')
        },
        {
            path:'/goods',
            name:'Goods',
            component:()=>import('@/views/Goods')
        },
        {
            path:'/addGoods',
            name:'GoodsAdd',
            component:()=>import('@/views/GoodsAdd')
        },
        {
            path:'/updateGoods/:goodsId',
            name:'UpdateGoods',
            component:()=>import('@/views/UpdateGoods')
        },
        {
            path:'/user',
            name:'User',
            component:()=>import('@/views/User')
        },
        {
            path:'/addUser',
            name:'AddUser',
            component:()=>import('@/views/AddUser')},
        {
            path:"/store/:uu",
            name:"Store",
            component:()=>import('@/views/storeShow/StoreMain.vue'),
        },
        {
            path:"/addStore",
            name:"AddStore",
            component:()=>import('@/views/storeShow/AddStore.vue')
        },
        {
            path:'/stockpage',
            name:"StockPage",
            component:()=>import('@/views/charts/StockPage.vue')
        },
        {
            path:'/mappage',
            name:"MapPage",
            component:()=>import('@/views/charts/MapPage.vue')
        },
        {
            path:'/hotpage',
            name:"HotPage",
            component:()=>import('@/views/charts/HotPage.vue')
        },
        {
            path:"/updateStore/:storeId",
            name:"UpdateStore",
            component:()=>import('@/views/storeShow/UpdateStore.vue')
        },
        {
            path:'/rankPage',
            name:"RankPage",
            component:()=>import('@/views/charts/RankPage.vue')
        },
        {
            path:'/trendPage',
            name:'TrendPage',
            component:()=>import('@/views/charts/TrendPage.vue')
        },
        {
            path:"/testTheme",
            name:"TestTheme",
            component:()=>import('@/views/storeShow/TestTheme.vue')
        }
        ,
        {
            path:"/updateUser",
            name:"UpdateUser",
            component:()=>import('../views/UpdateUser.vue')
        }
        ,
        {
            path:"/testCharts",
            name:"TestCharts",
            component:()=>import('@/views/storeShow/TestSalesCharts')
        },
        {
            path:"/sellerPage",
            name:"SellerPage",
            component:()=>import('@/views/charts/SellerPage.vue')
        },
        {
            path:"/service",
            name:"Service",
            component:()=>import('@/views/Service.vue')
        },
        {
            path:"/addservice",
            name:"AddService",
            component:()=>import('@/views/ServiceAdd.vue')
        },
        {
            path:"/updateservice",
            name:"UpdateService",
            component:()=>import('@/views/ServiceUpdate.vue')
        },
        {
            path:"/serviceOrder",
            name:"ServiceOrder",
            component:()=>import('@/views/ServiceOrder.vue')
        },
        {
            path:"/updateServiceOrder",
            name:"UpdateServiceOrder",
            component:()=>import('@/views/UpdateServiceOrder.vue')
        },
        
        ,
        {
            path:"/petowners",
            name:"PetOwners",
            component:()=>import('@/views/PetOwners.vue')
        }
        ,
        {
            path:"/pets",
            name:"Pets",
            component:()=>import('@/views/Pets.vue')
        }
        ,
        {
            path:"/addpetowners",
            name:"AddPetOwners",
            component:()=>import('@/views/AddPetOwners.vue')
        }
        ,
        {
            path:"/addpet",
            name:"AddPet",
            component:()=>import('@/views/AddPet.vue')
        }
        ,
        {
            path:"/updatepetowners",
            name:"UpdatePetOwners",
            component:()=>import('@/views/UpdatePetOwners.vue')
        }
        ,
        {
            path:"/updatepet",
            name:"UpdatePet",
            component:()=>import('@/views/UpdatePet.vue')
        },
        {
            path:"/sd",
            name:"SD",
            component:()=>import('@/views/storeShow/StoreDistribution.vue')
        }
        ,
        {
            path:"/throne",
            name:"Throne",
            component:()=>import('@/views/Throne.vue')
        }
        ,
        {
            path:"/addThrone",
            name:"AddThrone",
            component:()=>import('@/views/AddThrone.vue')
        }
        ,
        {
            path:"/updateThrone",
            name:"UpdateThrone",
            component:()=>import('@/views/UpdateThrone.vue')
        }
        ,
        {
            path:"/role",
            name:"Role",
            component:()=>import('@/views/Role.vue')
        }
        ,
        {
            path:"/checkRole",
            name:"CheckRole",
            component:()=>import('@/views/CheckRole.vue')
        }
        ,
        {
            path:"/throneDistribution",
            name:"ThroneDistribution",
            component:()=>import('@/views/ThroneDistribution.vue')
        }
        ,
        {
            path:"/roleDistribution",
            name:"RoleDistribution",
            component:()=>import('@/views/RoleDistribution.vue')
        }
        ,
        {
            path:"/login",
            name:"Login",
            component:()=>import('@/views/Login.vue')
        }

        
    ]
}